package cn.sunxyz.behavior.chainofresponsibility;

/**
 * Created by yangrd on 2017/5/13.
 */
public class FirstHandler extends AbstractHandler {
    @Override
    public void handlerRequest(String request) {
        System.out.println("FirstHandler#before:=> " + request);
        if (handler != null) {
            System.out.println(request);
            handler.handlerRequest(request);
        }
        System.out.println("FirstHandler#after:=> " + request);
    }

}
